#ifndef ANIMALMANAGER_H
#define ANIMALMANAGER_H

#include <QList>
#include "animal.h"
#include <QSharedPointer>

class AnimalManager
{
public:
    static AnimalManager& Instance();
    void addAnimal(QSharedPointer<Animal> animal);
    const QList<QSharedPointer<Animal>>& getAnimals() const;
private:
    AnimalManager() = default;

private:
    QList<QSharedPointer<Animal>> m_animals;
};

#endif // ANIMALMANAGER_H
